#include "stdafx.h"
#include "color.h"
//--------------------------------------------------------------------------------------------/

color::color() : azul(255),rojo(255), verde(255) {}
//--------------------------------------------------------------------------------------------/

color::color(int rojo,int verde,int azul):azul(azul),rojo(rojo), verde(verde) {}

//--------------------------------------------------------------------------------------------/

void color::setColores( int azules,  int rojos,  int verdes)
{
	this->azul = azules;
	this->rojo = rojos;
	this->verde = verdes;

}
//--------------------------------------------------------------------------------------------/

void color::setRojo( int rojos)
{
	this->rojo = rojos;
}

//--------------------------------------------------------------------------------------------/

void color::setVerde( int verdes)
{
	this->verde = verdes;
}

//--------------------------------------------------------------------------------------------/

void color::setAzul( int azules)
{
	this->azul = azules;
}

//--------------------------------------------------------------------------------------------/

int color::getRojo()
{
	return this->rojo;
}

//--------------------------------------------------------------------------------------------/

int color::getVerde()
{
	return this->verde;
}

//--------------------------------------------------------------------------------------------/

 int color::getAzul()
{
	return this->azul;
}

 //--------------------------------------------------------------------------------------------/

color::~color() {}
//--------------------------------------------------------------------------------------------/

